package com.gz.exception;

public class Assert {
    public static void error(boolean condition, ResultCode resultCode) {
        if (condition) {
            throw new BookBusinessException(resultCode);
        }
    }
}
